import React, { Component } from 'react';

import './index.scss';


class TableHeadCon extends Component {

  render() {
    const { thData } = this.props;
    return (
      <thead>
        <tr>
          {
            thData.map((item, index) => {
              return (
                <th
                  key={index}
                >{item}</th>
              )
            })
          }
        </tr>
      </thead>
    )
  }
}

export default TableHeadCon;